package org.dicr.sys;

/**
 * File Locked exception.
 * 
 * @author Igor A Tarasov &lt;java@dicr.org&gt;
 * @version 1.0
 */
public class FileLockedException extends Exception {
	private static final long serialVersionUID = 1L;

	/**
     * Constructor
     */
	public FileLockedException() {
		super();
	}

	/**
     * Constructor
     * 
     * @param filename filename which is locked
     */
	public FileLockedException(String filename) {
		super(filename);
	}

	/**
     * Constructor
     * 
     * @param filename name of file which is locked
     * @param handler currect handler of file
     */
	public FileLockedException(String filename, SystemFileHandler handler) {
		super(filename + " by " + handler);
	}
}
